<%-- 
    Document   : test
    Created on : 12-jul-2013, 20:03:11
    Author     : agro-nb
--%>



<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="ar.com.educationit.util.*" %>
<%@page import="ar.com.educationit.entities.*" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Ejercicio 5</title>
    </head>
    <body>
        <h1>Ejercicio 5</h1>
        <p/>
        <%
            ArrayList<Alumno> losAlumnos = new ArrayList<Alumno>();
            losAlumnos.add(new Alumno("1", "Lucas", "Agromayor"));
            losAlumnos.add(new Alumno("2", "Juan", "Pirulo"));
            losAlumnos.add(new Alumno("3", "Vieja", "Tu"));
            losAlumnos.add(new Alumno("4", "Pepe", "Grillo"));
            losAlumnos.add(new Alumno("5", "Mundo", "Hola"));
            
            out.println(CreadorDeHTML.getComboDeAlumnos(losAlumnos));
            out.println("<br/><br/><br/>");
            String encabezado[] = {"Id","Nombre","Apellido"};
            out.println(CreadorDeHTML.getTablaDeAlumnos(losAlumnos, encabezado));
            %>
    </body>
</html>
